package com.anfeng.cms.api.support;

/**
 * @author 吴朋
 * @date 2019/7/16
 */
public enum ConstEum {

    SUCCESS(200, "SUCCESS"),
    SERVER_ERROR(505, "服务端未知错误"),
    PARAM_ERROR(510, "参数验证不通过");

    public int status;

    public String message;

    ConstEum(int code, String message) {
        this.status = code;
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
